from . import views
from django.urls import path, re_path

urlpatterns = [
    path('api/v1.0/houses/<int:house_id>/images', views.UploadPictureView.as_view()),
    re_path(r'^api/v1.0/houses$', views.HomeHouseView.as_view()),
    re_path(r'api/v1.0/user/houses', views.MyhomelistView.as_view()),
    re_path(r'^api/v1.0/areas/$', views.DistrictView.as_view()),
    re_path(r'^api/v1.0/houses/index$', views.HosesView.as_view()),
    path('api/v1.0/houses/<int:house_id>', views.DetailsPageView.as_view()),
    re_path(r'^api/v1.0/houses/<int:house_id>$', views.DetailsPageView.as_view())

]

